import AC from './components/async_load'

export default [{
  name: '我的',
  path: '/user',
  exact: true,
  component: AC(() => import('./views/user'))
}, {
  name: '基本信息',
  path: '/user-info',
  exact: true,
  component: AC(() => import('./views/user/info.js'))
}, {
  name: '修改密码',
  path: '/password',
  exact: true,
  component: AC(() => import('./views/user/password.js'))
}, {
  name: '修改头像',
  path: '/avatar',
  exact: true,
  component: AC(() => import('./views/user/avatar.js'))
}, {
  name: '好友',
  path: '/contact',
  exact: true,
  component: AC(() => import('./views/contacts'))
}, {
  name: '添加好友',
  path: '/add',
  exact: true,
  component: AC(() => import('./views/contacts/add.js'))
}, {
  name: '消息',
  path: '/',
  exact: true,
  component: AC(() => import('./views/home'))
}, {
  name: '会话详情',
  path: '/chat-box',
  exact: true,
  component: AC(() => import('./views/chat-box'))
}]
